package com.lovegu.framework.mybatis.dataSource;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lovegu.framework.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 租户数据源表
 * @author 大妖怪 9920664@qq.com
 */
@Data
@TableName("t_tenant_data_source")
@EqualsAndHashCode(callSuper = true)
public class TenantDataSourceDO extends BaseEntity {

    private static final long serialVersionUID = 20547430477896673L;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 数据库驱动
     */
    private String driver;

    /**
     * 数据库地址
     */
    private String url;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String password;
}
